import pandas as pd

data = pd.read_csv('../web/lj_data.csv')
# print(data.loc[1])
#loc根据标签来，针对列
# print(data.loc[[0,1,2],['价格']])

#iloc根据索引来
print(data.iloc[5:10,2:4].values.tolist())
# print(data.iloc[5:10,2:])
# list = [data.iloc[i,2:].to_dict() for i in range(5,10)]
# print(list)